#include "junix.h"
using namespace std;

int main(int argc, char **argv)
{
	const int size = 100000000;
	vector<int> V(size);

	ifstream file("NUMBER");
	string value;
	int index = 0;
	while (file>>value) {
//		cout<<value<<endl;
		V[index++] = atoi(value.c_str());
	}

	if (!file.eof()) {
		cerr<<"file read error"<<endl;
		exit(EXIT_FAILURE);
	}

	jtime T;
	T.start();
	sort(V.begin(),V.end());
	T.end();
	T.print();
}
